﻿using HandyControl.Controls;
using MaterialDesignThemes.Wpf;
using Minotaur.App.Domains.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Minotaur.App.Core
{
    public class AppDataContext
    {
        /// <summary>
        /// 当前登录全局用户
        /// </summary>
        public static GlobalUserModel GlobalUserModel { get; set; }
        public static List<Button> Buttons { get; set; } = new List<Button>();
        public static IDbContext dbContext { get; set; }
        /// <summary>
        /// loading效果框
        /// </summary>
        public static Grid GlobalLoadingGrid { get; set; }
        /// <summary>
        /// loading 效果
        /// </summary>
        public static LoadingCircle GlobalLoadingView { get; set; } 
    }
}
